<style>
  textarea{
    resize:none;
  }
  .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
    background-color: #fff;
  }
  .form-control:focus, .single-line:focus{
    border-color: #e5e6e7 !important;
  }
</style>
<div class="row wrapper white-bg page-heading" style="padding-bottom: 80px;">
  <div class="container-fluid">
    <h2>留言详情</h2>
  </div>
  <hr/>
  <div class="container-fluid">
    <!-- 预定留言  -->
    <div class="col-md-10 col-md-offset-1 col-table" ng-if="messageAddCtrl.status==1">
      <table class="table table-bordered">
        <!--姓名-->
        <tr class="col-table-tr">
          <td>姓名</td>
          <td>
            <div class="col-md-offset-1 col-md-4">
              <div class="form-group">
                <input ng-model="messageAddCtrl.name" readonly class="form-control" placeholder="请输入姓名">
              </div>
            </div>
          </td>
        </tr>
        <!--联系电话-->
        <tr class="col-table-tr">
          <td>联系电话</td>
          <td>
            <div class="col-md-offset-1 col-md-4">
              <div class="form-group">
                <input ng-model="messageAddCtrl.contactTel" readonly class="form-control" placeholder="请输入联系电话">
              </div>
            </div>
          </td>
        </tr>
        <!--主题-->
        <tr class="col-table-tr">
          <td>主题</td>
          <td>
            <div class="col-md-offset-1 col-md-11">
              <div class="form-group">
                <input ng-model="messageAddCtrl.buyTheme" readonly class="form-control" placeholder="请输入主题">
              </div>
            </div>
          </td>
        </tr>
        <!--ip-->
        <tr class="col-table-tr">
          <td>IP</td>
          <td>
            <div class="col-md-offset-1 col-md-5">
              <div class="form-group">
                <input ng-model="messageAddCtrl.IP" readonly class="form-control" placeholder="">
              </div>
            </div>
          </td>
        </tr>
        <!--留言内容-->
        <tr class="col-table-tr">
          <td>留言内容</td>
          <td>
            <div class="col-md-offset-1 col-md-11">
              <div class="form-group">
                <textarea rows="5" ng-model="messageAddCtrl.content" readonly class="form-control" placeholder="请输入留言内容"></textarea>
              </div>
            </div>
          </td>
        </tr>
        <!--创建时间-->
        <tr class="col-table-tr">
          <td>创建时间</td>
          <td>
            <div class="col-md-offset-1 col-md-5">
              <div class="form-group">
                <input ng-model="messageAddCtrl.createTime" readonly class="form-control" placeholder="">
              </div>
            </div>
          </td>
        </tr>
      </table>
      <button type="submit" class="btn btn-default col-md-2 col-md-offset-5" ui-sref="home.message.messageList({status:messageAddCtrl.status})">返回
      </button>
    </div>
    <!-- 预定课程  -->
    <div class="col-md-10 col-md-offset-1 col-table" ng-if="messageAddCtrl.status==2">
      <table class="table table-bordered">
        <!--孩子姓名-->
        <tr class="col-table-tr">
          <td>孩子姓名</td>
          <td>
            <div class="col-md-offset-1 col-md-4">
              <div class="form-group">
                <input ng-model="messageAddCtrl.childrenName" readonly class="form-control" placeholder="请输入孩子姓名">
              </div>
            </div>
          </td>
        </tr>
        <!---->
        <tr class="col-table-tr">
          <td>1</td>
          <td>
            <div class="col-md-offset-1 col-md-4">
              <div class="form-group">
                <input ng-model="messageAddCtrl.childrenAge" readonly class="form-control" placeholder="年龄">
              </div>
            </div>
          </td>
        </tr>
        <!--联系电话-->
        <tr class="col-table-tr">
          <td>联系电话</td>
          <td>
            <div class="col-md-offset-1 col-md-11">
              <div class="form-group">
                <input ng-model="messageAddCtrl.contactTel" readonly class="form-control" placeholder="请输入联系电话">
              </div>
            </div>
          </td>
        </tr>
        <!--ip-->
        <tr class="col-table-tr">
          <td>IP</td>
          <td>
            <div class="col-md-offset-1 col-md-5">
              <div class="form-group">
                <input ng-model="messageAddCtrl.IP" readonly class="form-control" placeholder="">
              </div>
            </div>
          </td>
        </tr>
        <!--创建时间-->
        <tr class="col-table-tr">
          <td>创建时间</td>
          <td>
            <div class="col-md-offset-1 col-md-5">
              <div class="form-group">
                <input ng-model="messageAddCtrl.createTime" readonly class="form-control" placeholder="">
              </div>
            </div>
          </td>
        </tr>
      </table>
      <button type="submit" class="btn btn-default col-md-2 col-md-offset-5" ui-sref="home.message.messageList({status:messageAddCtrl.status})">返回
      </button>
    </div>
    <!-- 在线留言  -->
    <div class="col-md-10 col-md-offset-1 col-table" ng-if="messageAddCtrl.status==3">
      <table class="table table-bordered">
        <!--姓名-->
        <tr class="col-table-tr">
          <td>姓名</td>
          <td>
            <div class="col-md-offset-1 col-md-4">
              <div class="form-group">
                <input ng-model="messageAddCtrl.name" readonly class="form-control" placeholder="请输入姓名">
              </div>
            </div>
          </td>
        </tr>
        <!--电话号码-->
        <tr class="col-table-tr">
          <td>电话号码</td>
          <td>
            <div class="col-md-offset-1 col-md-4">
              <div class="form-group">
                <input ng-model="messageAddCtrl.tel" readonly class="form-control" placeholder="请输入电话号码">
              </div>
            </div>
          </td>
        </tr>
        <!--Email-->
        <tr class="col-table-tr">
          <td>Email</td>
          <td>
            <div class="col-md-offset-1 col-md-11">
              <div class="form-group">
                <input ng-model="messageAddCtrl.email" readonly class="form-control" placeholder="请输入Email">
              </div>
            </div>
          </td>
        </tr>
        <!--ip-->
        <tr class="col-table-tr">
          <td>IP</td>
          <td>
            <div class="col-md-offset-1 col-md-5">
              <div class="form-group">
                <input ng-model="messageAddCtrl.IP" readonly class="form-control" placeholder="">
              </div>
            </div>
          </td>
        </tr>
        <!--留言内容-->
        <tr class="col-table-tr">
          <td>留言内容</td>
          <td>
            <div class="col-md-offset-1 col-md-11">
              <div class="form-group">
                <textarea rows="5" ng-model="messageAddCtrl.content" readonly class="form-control" placeholder="请输入留言内容"></textarea>
              </div>
            </div>
          </td>
        </tr>
        <!--创建时间-->
        <tr class="col-table-tr">
          <td>创建时间</td>
          <td>
            <div class="col-md-offset-1 col-md-5">
              <div class="form-group">
                <input ng-model="messageAddCtrl.createTime" readonly class="form-control" placeholder="">
              </div>
            </div>
          </td>
        </tr>
      </table>
      <button type="submit" class="btn btn-default col-md-2 col-md-offset-5" ui-sref="home.message.messageList({status:messageAddCtrl.status})">返回
      </button>
    </div>
  </div>
</div>
